home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 17
/
cdrt17.iso
/
pc
/
stones
/
promo.dir
/
00005_Script_Main Movie Script
< prev
next >
Wrap
Text File
|
1995-07-08
|
774b
|
45 lines
On StartMovie
global FixPal,rwobj, pathseparator
if the machinetype <>256 then
OpenXLib the pathname & "Media:RearWindow.XObj"
set rwObj = RearWindow( mNew, "S" )
if the colorDepth = 8 then
rwObj( mIndexColorToWindow, 256 )
end if
if the colorDepth = 16 then
rwObj( mIndexColorToWindow, 1 )
end if
Set fixpal=Fixpalette(mNew,The stageLeft,The StageTop,The StageRight,The StageBottom)
end if
end
On Patchpal
global fixpal
if the machinetype = 256 then
nothing
else
fixpal(mPatchIt)
end if
end
On StopMovie
global Fixpal, rwobj
if the machinetype <> 256 then
rwobj(mDispose)
fixpal(mDispose)
end if
end